Skip to content

fix(runs): colour a control's verdict the same on Runs and its job page - #565

Merged
aitianshi merged 2 commits into
mainfrom
fix/control-verdict-colour-450
Dec 1, 2026
Merged

aitianshi merged 2 commits into
mainfrom
fix/control-verdict-colour-450

Conversation

@aitianshi

Copy link
Copy Markdown
Collaborator

Closes #450

What

  • The job's chip is a span, which the verdict's rules miss, so .ok and .warn made it green or amber.
  • The figure's rules named behaved and misbehaved, which nothing writes, and the undefined --warn.
  • The verdict's two rules now take the chip and figure; the dead ones go.
  • Now everywhere: ok --text, warn --bad (red), each one rule in style.css to flip. By launch's ✓ stays green.
  • CLI: unchanged.

Before and after

Before After
Job page of a nop job: 1 unexpected reward in amber, its figure in body text The same job page: the verdict and its figure in red, as on Runs
The same job page in the dark theme, before The same job page in the dark theme, after
A passing control's chip in green A passing control's chip in body text, as on Runs

Verified

  • Chromium, two nops, two oracles; All runs, By launch, chip, figure: 32 of 32 colours match their state, light and dark, at 390, 820, 1024, 1280.
  • Red's contrast: chip 5.15, figure 5.47 light; 6.48, 6.09 dark.
  • Backend 3511: one timing module failed under load, passes alone. Routes 925.

Risk

  • A passing control's chip loses its green. Undo: revert.

Agents

  • Claude Code, Opus 5.5

@aitianshi
aitianshi marked this pull request as ready for review December 1, 2026 13:32
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

🟢 PR judge · 6 of 6 yes · #565 ↔ #450

Merge risk 🟠 SIGNIFICANT the judge's reading of the diff
Depth 🟢 LOW no path reaches past the surface
Question Verdict
Changes do what the issue asks · 2 of 2 criteria ✅ yes
Issue and pull request describe the same change ✅ yes
Description matches the diff ✅ yes
Diff stays in scope ✅ yes
Risk named in the description ✅ yes
Before and after shown · 6 images · the diff touches what is visible ✅ yes
Acceptance criteria, 2 of 2 met
# Criterion Verdict
1 A control's verdict has the same color on Runs, By launch and the job page, for ok and for warn ✅ met
2 The job page's control figure takes the state's color, or the behaved and misbehaved rules are removed ✅ met
Checks the script runs itself, 4 of 4 pass
No machine attribution trailer in the commits or the description ✓
New code under app/, docs/, .github/, .agents/ or .claude/ ✓
No Flask import under the backend package ✓
No key-shaped string in the diff ✓

@github-actions github-actions Bot added the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 1, 2026
@aitianshi
aitianshi merged commit 8c3f456 into main Dec 1, 2026
6 checks passed
@aitianshi
aitianshi deleted the fix/control-verdict-colour-450 branch December 1, 2026 13:42
@github-actions github-actions Bot removed the needs review Tests pass, no conflict, no verdict on its latest commit label Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A control's verdict is red on Runs and amber on its job page, and the job's figure takes no color

1 participant